package com.wgchao.amc.entity.autho;

import javax.persistence.*;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-10-31 
 * @用途  
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table ( name ="sys_autho_role" )
public class SysAuthoRole  implements Serializable {

	private static final long serialVersionUID =  8407053921355927356L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "id" )
	private Long id;

	/**
	 * 部门ID
	 */
   	@Column(name = "group_id" )
	private Long groupId;

	/**
	 * 角色ID
	 */
   	@Column(name = "role_id" )
	private Long roleId;

	/**
	 * 菜单ID
	 */
   	@Column(name = "menu_id" )
	private Long menuId;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 项目标示
	 */
   	@Column(name = "pro_mark" )
	private String proMark;

}
